package com.yj.cloudnote.mongo.dao;

import com.mongodb.DBObject;

import java.util.Map;

/**
 * @Author: jy
 * @Description:
 * @Date: 10:19 2018/4/26
 */
public interface DirDao {
    public Boolean initDir(DBObject dbObject);
    public DBObject getDirOne(String username);
    public DBObject getDirCount(String username);
    public DBObject getFileCount(String username);
    public DBObject getOne(Map<String,Object> query,Map<String,Object> key);
    public void updateOne(Map<String,Object> where,Map<String,Object> set);
}
